UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The /etc/smb.conf file must be group-owned by root, bin, sys, or system.


Overview

Finding ID Version Rule ID IA Controls Severity
V-1056 GEN006120 SV-35219r1_rule ECLP-1 Medium
Description
If the group-owner of the smb.conf file is not root or a system group, the file may be maliciously modified and the Samba configuration could be compromised.
STIG Date
HP-UX 11.31 Security Technical Implementation Guide 2018-03-01

Details

Check Text ( C-35063r1_chk )
Check the group ownership of the smb.conf file.
# find / -type f -name smb.conf | xargs -n1 ls -lL

If the smb.conf file is not group-owned by root, bin, sys or other, this is a finding.
Fix Text (F-30350r1_fix)
Change the group owner of the "smb.conf" file.
# chgrp root /etc/samba/smb.conf